$(function(){
	var loginForm=$('.login_form')
	var loginTip=$('.login_tip')
	var regeForm=$('.rege_form')
	var regeTip=$('.rege_tip')
	var colorBox=$('.login_color')
$('#rege_button').click(function(){
	loginForm.slideUp(400);
	loginTip.slideDown(800);
	regeForm.slideDown(800);
	regeTip.slideUp(400);
    colorBox.animate({
	    right:350
	},300);
});

$('#login_button').click(function(){
	loginTip.slideUp(400);
	loginForm.slideDown(800);
	regeTip.slideDown(800);
	regeForm.slideUp(400);
	colorBox.animate({
		right:0
		},300);
	});
});